package com.sen.java.demo.slog4j;

import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;

public class Slog4JavaProperties {

	/**
	 * @param args
	 */
	static final Logger logger = Logger.getLogger(Slog4JavaProperties.class);
	public static void main(String[] args) {
		PropertyConfigurator.configure("./properties/slog4j.properties");
		logger.debug("debug message");
		logger.info("info message");
		logger.warn("warn message");
		logger.error("error message");
		logger.fatal("fatal message");
	}

}
